const fs = require('fs')
import {writeFile} from 'fs'
const {writeFile} = require('fs')